package com.zxl.constants;

public enum ExceptionMsg {

    INVENTORY_SHORTAGE(999, "库存不足");

    private int code;

    private String msg;

    ExceptionMsg(int i, String msg) {
        this.code = i;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
